﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="GAIA_IU.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Estudio de Terreno
    </h2>
    <p>
        Ingrese la informaci&oacute;n solicitada.
    </p>
    
    <asp:Label ID="aviso_label" runat="server" Text=""></asp:Label>     
    
    <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="TerrenoValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="TerrenoValidationGroup"/>
    
    <div style="display:block; clear:both; margin-top:10px;" class="formMantenimiento">
        
        <p>Cliente: <asp:Label ID="lb_Cliente" runat="server" Text=""></asp:Label></p>
        <p>Finca: <asp:Label ID="lb_Finca" runat="server" Text=""></asp:Label></p>
        <p>Parcela: <asp:Label ID="lb_Parcela" runat="server" Text=""></asp:Label></p>
        
    </div>

    <div id="GridExcel" class="formMantenimiento">
            <asp:FileUpload ID="FileUpload1" runat="server" /><br />
            <br />
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" 
             Text="Upload File" />&nbsp;<br />
            <br />
            <asp:Label ID="Label1" runat="server"></asp:Label>

            <%--<asp:RegularExpressionValidator 
             id="RegularExpressionValidator1" runat="server" 
             ErrorMessage="Sólo archivos con extensión .xls o .xlsx son permitidos!" 
             ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))
                +(.xls|.xlsx)$" 
             ControlToValidate="FileUpload1"></asp:RegularExpressionValidator>
            <br />
            <asp:RequiredFieldValidator 
             id="RequiredFieldValidator1" runat="server" 
             ErrorMessage="Por favor seleccione la el documento de excel..." 
             ControlToValidate="FileUpload1"></asp:RequiredFieldValidator>--%>
       
            
            <asp:GridView ID="GridView1" runat="server">
            </asp:GridView>
            <p class="submitButton">
                    &nbsp;</p>
        </div>
</asp:Content>
